]> dgit.raspbian.org Git - gnome-shell.git/commit
grabHelper: Track the grab before trying to set key focus
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 16 Feb 2013 17:52:37 +0000 (12:52 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 16 Feb 2013 18:33:45 +0000 (13:33 -0500)
commit180000a5317e771a7860419fafa8431295547dd7
treef3f3942c038946c792d6befa9c99af63814cafbe
parent5f995c64d4b9af9c2cede2bed530482128a04429
grabHelper: Track the grab before trying to set key focus

If we don't this for a nested grabFocus grab, the notify::key-focus
will be called, not think that the new key focus is part of the
grab, and cancel the full grab. This leaves the grab helper in an
inconsistent and confused state, as the grab is pushed onto the
grab stack after.

https://bugzilla.gnome.org/show_bug.cgi?id=693975
js/ui/grabHelper.js